# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>

pkgname=python-colored-traceback
_name=colored-traceback
pkgver=0.3.0
pkgrel=4
pkgdesc='Automatically color Python’s uncaught exception tracebacks'
url='https://github.com/staticshock/colored-traceback.py'
arch=('any')
license=('MIT')
depends=('python' 'python-pygments')
makedepends=('python-setuptools')
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
sha512sums=('013d779df231295319c29a48fe81a5ddfd1b77b1734dedf630a914bdf0ea89e19a8ec028ae40c55125209e748f4027a74d04ec816f6c6d3c21aca52d2dd58e37')
b2sums=('bf79942de0d0791b567dce21609be87319da11596b90e67018ee74069ea63b072b73778283112f9f52270fef046220eff355993d38f84ecd80d895da0401a010')

build() {
  cd "${_name}-${pkgver}"
  python setup.py build
}

package() {
  cd "${_name}-${pkgver}"
  python setup.py install -O1 --root="${pkgdir}" --skip-build
}

# vim:set ts=2 sw=2 et:
